import { Component } from 'react'
import './index.css'

export default class A extends Component {
	render() {
		const {car} = this.props
		return (
			<div className="a">
				<h2>我是A组件，我有台车：{car}</h2>
			</div>
		)
	}
}
